module.exports = {
	setHMS(num) {
		let h = this.add0(Math.floor(num / 3600))
		let m =this.add0( Math.floor((num / 60) % 60));
		let s = this.add0(Math.floor(num % 60));
		return `${h}:${m}:${s}`
	},

	add0(n) {
		return n < 10 ? "0" + n : n;
	},
};
